<!--{subtemplate common/header}-->

<div id="imgBlock" style="position: relative; ">
	<a href="home.php?mod=space&uid=$uid&do=album&picid=$picid" target="_blank">
		<img id="bbImg" alt="" src="$baby_img" style="max-width: 960px; _width: 960px; width: 960px; height: auto;" />  
	</a>
	
	<div id="regBb" style="z-index: 10; position: absolute; right: 5px; top: 5px; width: 240px; ">
		<form action="know.php?mod=subscribe" method="post">
			<br/>
			<h3 class="xs3">关爱宝宝成长每一天</h3>
			<h4 class="xs2">为您量身定做的育婴资讯信息</h4>
			<br/>
			<span>请输入宝宝的生日或您的预产期</span>
			<br/>
			<select id="birthyear" name="birthyear" class="ps" onchange="showbirthday();" tabindex="1">
				<option value="-1">年份</option>
				<!--{loop $years $year}-->
				<option value="$year" {if $birthyear== $year} selected="selected"{/if}>$year</option>
				<!--{/loop}-->
			</select> <select id="birthmonth" name="birthmonth" class="ps" onchange="showbirthday();" tabindex="2">
				<option value="-1">月份</option>
				<!--{loop $months $month}-->
				<option value="$month" {if $birthmonth== $month} selected="selected"{/if}>$month</option>
				<!--{/loop}-->
			</select> <select id="birthday" name="birthday" tabindex="2">
				<option value="-1">日期</option>
				<!--{loop $days $day}-->
				<option value="$day" {if $birthday== $day} selected="selected"{/if}>$day</option>
				<!--{/loop}-->
			</select>
			
			<br/>
			<input type="checkbox" id="prepare_pregnancy" name="prepare_pregnancy" value="true">
			<label for="prepare_pregnancy">正在准备怀孕</label>
			<br/>
			<label for="email">请输入你的电子邮件地址</label>
			<br/>
			<input name="email" type="text" size="30" value="">
			<br/>
			<label for="firstName">请输入宝宝名字</label>
			<br/>
			<input id="firstName" name="nick_name" type="text" size="30" value="" maxlength="50">
			<br/>
			<input type="hidden" name="articlesubscribe" value="true" />
			<button type="submit" name="articlesubscribeBtn" id="articlesubscribeBtn" value="true" class="pn pnc">
				<strong>免费订阅</strong>
			</button>
			<button type="button" name="showMe" id="showMeId" value="true" class="pn pnc"  onclick="location.href='bid.php';">
				<strong>我也要展示</strong>
			</button>
			<br/>
			<br/>
			<span class="xs2">昵称：$vote_user[nick_name]</span>
			<br/>
			<span class="xs2">名字：$vote_user[name]</span>
			<br/>
			<span class="xs2">年龄：$vote_user[age]</span>
			<br/>
			<span class="xs2">爸爸：$vote_user[father_name]</span>
			<br/>
			<span class="xs2">妈妈：$vote_user[mother_name]</span>
			<br/>
			<span class="xs2">口号：$vote_user[catchword]</span>
			<br/>
			<span class="xs2">简介：$vote_user[description]</span>
			<br/>
			<span class="xs2">来自：$vote_user[address]</span>

			
			<script type="text/javascript">
			function showbirthday(){
				var el = $('birthday');
				var old_birthday = el.value;
				el.length=0;
				el.options.add(new Option('日期', ''));
				for(var i=0;i<28;i++){
					el.options.add(new Option(i+1, i+1));
				}
				if($('birthmonth').value != "2"){
					el.options.add(new Option(29, 29));
					el.options.add(new Option(30, 30));
					switch($('birthmonth').value){
						case "1":
						case "3":
						case "5":
						case "7":
						case "8":
						case "10":
						case "12":{
							el.options.add(new Option(31, 31));
						}
					}
				} else if($('birthyear').value != "" ) {
					var nbirthyear=$('birthyear').value;
					if(nbirthyear%400==0 || (nbirthyear%4==0 && nbirthyear%100!=0)) {
						el.options.add(new Option(29, 29));
					}
				}
				el.value = old_birthday;
			}
			</script>
		</form>
	</div>
</div>

<div id="regBb1"  class="bm cl">
	友情链接预留，欢迎站长们交换链接。
	<br/>家有宝贝商业合作QQ群：150323756
	<br/>家有宝贝妈妈交流QQ群：8722047
</div>

<!--{subtemplate common/footer}-->
